//
//  HomeTableView.swift
//  DataStructure
//
//  Created by kys-20 on 2019/10/18.
//  Copyright © 2019 kys-20. All rights reserved.
//

import Foundation
import UIKit
class HomeTableViewCell:  UITableViewCell{
    override var frame: CGRect{
          get{
              return super.frame
          }set{
              var frame = newValue
              frame.origin.x += 15
              frame.size.width -= 30
              frame.origin.y -= 5
              frame.size.height -= 10
              super.frame = frame
          }
      }
    override init(style: UITableViewCell.CellStyle, reuseIdentifier: String?) {
        super.init(style: style, reuseIdentifier: reuseIdentifier)
        self.layer.cornerRadius = 15
        self.backgroundColor = UIColor(red: 197/255, green: 217/255, blue: 222/255, alpha: 1)
    }
    
    
    required init?(coder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
}
